/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Library General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
 */
 
#include <Elementary.h>
#include "dbsqlite.h"

Evas_Object *app_lb, *con_hv, *contact_toolbar, *contact_cat_bt, *con_list, *add_con_win, *id;

extern void add_contact_hs_items(Evas_Object *win, Evas_Object *bx, Evas_Object *bt);
extern void set_con_category_clicked(void *data, Evas_Object *obj, void *event_info);
extern void cancel_button_clicked(void *data, Evas_Object *obj, void *event_info);
extern void populate_contact_cat_list(Evas_Object *li);
extern void add_contact_toolbar_items(void);
extern void jump(void *data, Evas_Object *obj, void *event_info);
extern void show_actions(void *data, Evas_Object *obj, void *event_info);
extern void get_cat_contacts(char *cat);

extern _add_edit_con con_save;
extern char con_val[255];
extern _sms_re Re;
extern Evas_Object *new_sms_lb, *sms_rec_list;
extern _act_data act_da;
extern _act_element con_data;
//extern Elm_Genlist_Item_Class itc_sms_rec;

void save_contact(void *data, Evas_Object *obj, void *event_info);

int count_sms_con=0;